<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>新增</title></head>
<body>
<c:if test="${!empty msg}">
    <script type="text/javascript">
        alert("${msg}");
    </script>
</c:if>
<form action="/action/student/student_add" method="post">
    <center>
        <table>
            <tr>
                <td>姓名</td>
                <td><input name="dt.name" type="text"></td>
            </tr>
            <tr>
                <td>性别</td>
                <td>
                    <select name="dt.sex">
                        <option value="0">男</option>
                        <option value="1">女</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>年龄</td>
                <td><input name="dt.age" type="text"></td>
            </tr>
            <tr>
                <td>简介</td>
                <td><textarea name="dt.summary"></textarea></td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="新增">&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="button" onclick="window.location.href='/index.jsp'" value="首页">
                </td>

            </tr>
        </table>
    </center>
</form>
</body>
</html>